package com.aiti.lulian.mapper.gxmh;

import com.aiti.lulian.gxmh.dto.GxmhCustomerDetailParamDto;
import com.aiti.lulian.gxmh.dto.GxmhCustomerPageParamDto;
import com.aiti.lulian.gxmh.vo.GxmhCustomerContactsVo;
import com.aiti.lulian.gxmh.vo.GxmhCustomerDetailVo;
import com.aiti.lulian.gxmh.vo.GxmhCustomerFollowUpRecordVo;
import com.aiti.lulian.gxmh.vo.GxmhCustomerVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GxmhCustomerMapper {

    List<GxmhCustomerVo> queryCustomerList(IPage<GxmhCustomerVo> page, @Param("dto") GxmhCustomerPageParamDto dto);

    GxmhCustomerDetailVo queryCustomerDetail(@Param("baseId") String baseId);

    List<GxmhCustomerContactsVo> queryCustomerContactsList(@Param("customerId") String customerId);

    void updateFollowStatus(@Param("baseId") String baseId, @Param("followStatus") String followStatus, @Param("userId")String userId);

    void updateCustomer(@Param("dto") GxmhCustomerDetailParamDto dto);

    List<GxmhCustomerFollowUpRecordVo> queryCustomerFollowUpRecordList(@Param("customerId") String customerId);
}
